2 using System.Collections.Generic;
5 using Microsoft.Xna.Framework;
6 using Microsoft.Xna.Framework.Graphics;
8 namespace SuperPolarity
12 public Texture2D PlayerTexture;
13 public Vector2 Position;
16 public int Multiplier;
22 get { return PlayerTexture.Width; }
27 get { return PlayerTexture.Height; }
30 public void Initialize(Texture2D texture, Vector2 position)
32 PlayerTexture = texture;
44 public void Draw(SpriteBatch spriteBatch)
46 spriteBatch.Draw(PlayerTexture, Position, null, Color.White, Angle, Vector2.Zero, 1f, SpriteEffects.None, 0f);